/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package slideshow;

import java.awt.Graphics;
import java.awt.Image;
import javax.swing.JPanel;

/**
 *
 * @author Andrea
 */
public class ImagePanelZwei extends JPanel {
    
    private Image liImage;
    
    public void fnSetImage ( Image aiImage ) {
        
        this.liImage = aiImage;
        
    }
    
    @Override
    public void paintComponent(Graphics g) {
        
        g.drawImage ( this.liImage, 0, 0, this );
        
    }
    
}
